﻿using UnityEngine;
using System.Collections;

namespace SG
{
    public static class MathfExtension
    {
        public static float absDotProduct(Vector3 vec, Vector3 rhs)
        {
            return Mathf.Abs(rhs.x * vec.x) + Mathf.Abs(rhs.y * vec.y) + Mathf.Abs(rhs.z * vec.z);
        }
    }
}

